<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<link rel="stylesheet" type="text/css" href="css/mssu.css"/>
	<link rel="stylesheet" type="text/css" href="css/header.css"/>
	<body>
		<header>
			<span class="left" onclick="location.href='shouye.html'"><img src="img/qt.png"/></span>
			<span class="center">美食搜索</span>
			<span class="right"></span>
		</header>
		<div class="bg"><img src="img/bg1.png"/></div>
		<div class="mssu_box">
			<div class="mssu_suosuo">
				<img class="mssu_suosuo_img" src="img/suosuo.png" />
				<input type="text" placeholder="请输入菜品名称" />
				<img src="img/cha.png" />
				<button>取消</button>
			</div>
		</div>
		<div class="mssu_box_meishi">
			<ul class="mssu_box_meishi_lis">
				<!--<li>
					<img src="img/rou.png" />
					<p>香菇炖肉</p>
				</li>-->
				
			</ul>
		</div>
		<div class="bga"><img src="img/bg1.png"/></div>
		<footer>
			<ul>
				<li><a href="#" class="curr" onclick="location.href='shouye.html'"><img src="img/fza.png"/>首页</a></li>
				<li><a href="#" onclick="location.href='fujin.html'"><img src="img/qa.png"/>附近</a></li>
				<li><a href="#" onclick="location.href='dingd.html'"><img src="img/th.png"/>订单</a></li>
				<li><a href="#" onclick="location.href='gengduo.html'"><img src="img/xin.png"/>更多</a></li>
			</ul>
		</footer>
		<script src="js/jquery-3.1.1.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/flexible.js"></script>
		<script src="js/flexible_css.js"></script>
		<script type="text/javascript">
			$.get('js/mssu.json',function(data) {
					$.each(data,function(i) {
						var aa=$("<li></li>")
				        aa.appendTo(".mssu_box_meishi_lis")				       
				        $('<img src="'+data[i].img+'"/><p>'+data[i].name+'</p>').appendTo(aa);
					});
				},"json");
				$('footer>ul>li>a').click(function() {            	$(this).addClass('curr').parent().siblings().children().removeClass('curr');
           });
		</script>
	</body>
</html>
